<!--
PAGE DOCUMENTATION:
==================
This page is used in an Ajax call to get the content of the record dialog  that
is activated when a user chooses to record a new message.

Parameters that can be sent to this page:
----------------------------------------
recipient - user FB ID of the recipient of a message (of doesn't exist - 0).
user_id - FB user ID of the current user.
-->

<?php 
$recipient=$_REQUEST['recipient'];
$user_id=$_REQUEST['user_id'];
$newFileName = $user_id.time();

?>

<!-- create naming form -->
<div id="message_naming"  >
	<fieldset>  
		<div class="input" id="nameDiv">  
			<label>Message name</label>  
			<input type="text" id="textBox" name="message_name" class="inputtext inputblank" size="40" maxlength="40" onfocus="clearInput(this, BLANK_INPUT);" onblur="restoreInput(this, BLANK_INPUT);" value="Click to type" />  
		</div> 
		<div>
		</br>
		</br>
		<label>Note: at the moment this name is permanent and cannot be changed.</label> 
		</div>
		<input type="hidden" id="fileBox" name="newFileName" value="<?php echo $newFileName; ?>" />
		<input type="hidden" id="recipientBox" name="recipient" value="<?php echo $recipient; ?>" />
		
	</fieldset>
</div>


